#pragma once

#include "Dwarf.h"
#include "StateOfTheWorld.h"

class CWorld
{
public:
	CWorld();

	void AddDwarf(std::shared_ptr<CDwarf> pDwarf);
	void ExecuteCommands(std::vector<std::string> & commands);

private:
	const std::string CalculateCurrWorldState();
	void ExecuteCommand(std::string const & command);

	time_t m_startTime;
	std::string m_state;
	std::shared_ptr<CDwarf> m_pDwarf;
};

